(function($){
   $(window).load(function(){
        $(".content").mCustomScrollbar({
        	theme: "dark",
        	autoHideScrollbar: true,
        	scrollButtons:{
				enable:true
			}
        });
   });
})(jQuery);

CustomScrollbarEvent = {
	bankScrollbar: function () {
		if (!Session.get('has_scrollbar')) {
			setTimeout(checkScrollbar, 500);
			function checkScrollbar() {
				jQuery("#bankContent").mCustomScrollbar({
					theme: "dark",
					autoHideScrollbar: true,
					scrollButtons:{
						enable:true
					}
				});
			}
		}
	}
};